package com.woniuxy.ticketorder.service;

import com.woniuxy.ticketcommon.entity.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("ticket-user")
public interface UserService {

    @GetMapping("user/add")
    String add();

    @PutMapping("user/updateUserIntegration")
    ResponseResult updateUserIntegration(@RequestParam("id") Integer id, @RequestParam("integration") Integer integration);
}
